package cn.com.surker.pages.console;

import cn.com.surker.common.AbstractController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author luotao
 * @date 2024/11/17
 */
@Slf4j
@Controller
@RequestMapping("/console/weight")
public class WeightController extends AbstractController {

	/**
	 * 全部订单页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/all/page")
	public ModelAndView allPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/all-page");
		return mv;
	}

	/**
	 * 待检订单页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/wait/page")
	public ModelAndView waitPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/wait-page");
		return mv;
	}

	/**
	 * 抽检订单页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/check/page")
	public ModelAndView checkPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/check-page");
		return mv;
	}

	/**
	 * 二次过磅订单页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/again/page")
	public ModelAndView againPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/again-page");
		return mv;
	}

	/**
	 * 全部订单页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/unskinned/page")
	public ModelAndView unskinnedPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/unskinned-page");
		return mv;
	}

	/**
	 * 已经过毛重页面
	 *
	 * @return
	 */
	@RequestMapping(value = "/gross/page")
	public ModelAndView grossPage() {
		ModelAndView mv = new ModelAndView();
		mv.setViewName("console/weight/gross-page");
		return mv;
	}
}
